/**
 * 
 */
package gimys;

import org.newdawn.slick.SlickException;
import org.newdawn.slick.SpriteSheet;
import org.newdawn.slick.geom.Rectangle;

/**
 * @author sly
 *
 */
public class Key extends SolidObject {

	boolean isCollected = false;
	/**
	 * @throws SlickException 
	 * 
	 */
	public Key(Point pLocation) throws SlickException {
		super();
		this.type = Type.KEY;
		this.sprite = new SpriteSheet("data/Clef.png", 32, 32);
		this.collisionShape = new Rectangle(pLocation.x, pLocation.y, 32, 22);
		this.deltaXSprite = 0;
		this.deltaYSprite = -10;
		this.speed = 0f;

	}
}
